<?php
namespace app\servercertificate\validate;
use \app\manage\validate\BaseValidate;

/**
 * @author:      李颖
 * @DateTime:    2017-10-23 16:12:50
 * @Description: 我的证书 - 提货
 */

class Pickupgoods extends BaseValidate
{

        protected $rule = [
                'certificate_id' => ['integer','gt'=>0],
                'user_id'  => ['integer','gt'=>0],
                'reason' => ['min'=>2],
                'order_type' => ['min'=>2],
                'phone'=> ['regex'=>'^1\d{10}'],
                'address'=> ['min'=>5],
                'name'=>['length'=>'2,25'],
                'logistics_company_code' => ['alphaNum'],
                'waybill_number' => ['alphaNum'],
                'logistics_company_name' => ['min'=>2],
                'transfer_status' => ['in'=>'0,1']
        ];
        protected $message = [

        ];
        protected $scene = [

        ];

}